package com.ljx.shiro.service.impl;

import com.ljx.shiro.entity.User;
import com.ljx.shiro.mapper.UserMapper;
import com.ljx.shiro.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: Ljx
 * @Date: 2022/4/26 17:10
 * @role:
 */
@Service
public class UserServiceImpl implements IUserService {

    @Autowired
    private UserMapper UserMapper;

    @Override
    public User userLogin(String account, String password) {
        System.out.println(account);
        return UserMapper.userLogin(account,password);
    }
}
